package com.nxbw.quality.check.mapper;

import com.nxbw.quality.check.pojo.dto.CheckQuery;
import com.nxbw.quality.check.pojo.entity.Check;
import com.nxbw.quality.check.pojo.vo.CheckVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CheckMapper {

    List<CheckVO> selectCheck(CheckQuery checkQuery);

    Integer selectCountCheck(CheckQuery checkQuery);

    void insertCheck(Check check);

    void updateCheck(Check check);

    void deleteCheckById(Long id);
}
